package com.qf.ithub.common.result;

public enum ResponseEnum {

    SUCCESS("200","成功"),
    USERNAME_NOT_FOUND("300","用户名不存在"),
    USERNAME_OR_PASSWORD_INVALIDATE("301","用户名或者密码错误"),
    SYSTEM_ERROR("500","发生未知异常。。。"),
    ROLE_NO_MENUS("302","此角色没有任何菜单权限，请尽早分配。。。"),
    HAS_NO_TOKEN("303","还没有登陆"),
    TOKEN_ERROR("304","艹NM逼"),
    TOKEN_TIMEOUT("305","超时"),
    HAS_NO_RIGHT("306","权限不足")
    ;

    private String code;
    private String message;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    ResponseEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }
}
